package com.gongpingjialoan.bean.car;

import com.gongpingjialoan.utility.DiscountImageUtils;


public class PlatPrice {

    private String price;
    
    private int imageId;
    
    private String uri;

    private String id;

    private String discount;

    private String title;
    
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        try {
            imageId = DiscountImageUtils.images.get(name);
        } catch (Exception e) {
            imageId = 0;
        }
        this.name = name;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public int getImageId() {
//        if()
        
        return imageId;
    }

    public void setImageId(int imageId) {
        this.imageId = imageId;
    }
    
    
    

}
